﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BZZ_adminUsers.aspx.cs" Inherits="Web.myadmin.adminUsers" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>管理员表 - 后台管理  </title>
<link href="/css/bkcss.css" rel="stylesheet" type="text/css" />
<script src="/js/function.js" type="text/javascript"></script>
</head>
<body>
<div id="DivPromptMessage" runat="server">
    <asp:Literal ID="litPromptMessage" runat="server"></asp:Literal>
</div>
    <form id="form1" runat="server">
    
<div id="divQuery" runat="server">
     <table cellpadding="2" cellspacing="0" class="tblQuery">
	    <tr> 
		    <td class="tdQuery">
             <%--id：<asp:TextBox ID="txtQryId" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             用户名：<asp:TextBox ID="txtQryUsername" runat="server"  CssClass="clsInput" ></asp:TextBox>
             密码：<asp:TextBox ID="txtQryPassword" runat="server"  CssClass="clsInput" ></asp:TextBox>
             <%--真实姓名：<asp:TextBox ID="txtQryRealname" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--角色：<asp:TextBox ID="txtQryLevel" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--qq：<asp:TextBox ID="txtQryQq" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--邮箱：<asp:TextBox ID="txtQryEmail" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--电话：<asp:TextBox ID="txtQryTelephone" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--最后一次登陆时间：<asp:TextBox ID="txtQryLastloginTime" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--最后一次登陆ip：<asp:TextBox ID="txtQryLastloginip" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--登陆次数：<asp:TextBox ID="txtQryLoginnum" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--状态：<asp:TextBox ID="txtQryStatus" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--备注：<asp:TextBox ID="txtQryMemo" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--扩展1：<asp:TextBox ID="txtQryExt1" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--扩展2：<asp:TextBox ID="txtQryExt2" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <asp:Button ID="btnQuery"  CssClass="btnQuery" runat="server" Text=" 查询 "  OnClick="btnQuery_Click" />
		     </td>
	    </tr>
    </table>
</div>

<div id="divList" runat="server">
     <asp:Repeater runat="server" ID="rptInfoList">
        <HeaderTemplate>
           <table cellspacing="0" cellpadding="2" class="tblList">
             <tr> 
	              <td class="tdListTop">编号 </td>
	              <td class="tdListTop">用户名</td>
	              <td class="tdListTop">密码</td>
	              <td class="tdListTop">真实姓名</td>
	              <%--<td class="tdListTop">角色</td>--%>
	              <%--<td class="tdListTop">qq</td>--%>
	              <%--<td class="tdListTop">邮箱</td>--%>
	              <%--<td class="tdListTop">电话</td>--%>
	              <%--<td class="tdListTop">最后一次登陆时间</td>--%>
	              <%--<td class="tdListTop">最后一次登陆ip</td>--%>
	              <%--<td class="tdListTop">登陆次数</td>--%>
	              <%--<td class="tdListTop">状态</td>--%>
	              <%--<td class="tdListTop">备注</td>--%>
	              <%--<td class="tdListTop">扩展1</td>--%>
	              <%--<td class="tdListTop">扩展2</td>--%>
	              <td class="tdListTop">操作</td>
             </tr>
          </HeaderTemplate>
          <ItemTemplate>
               <tr onmouseover="this.bgColor='#8CBDE7'" onmouseout="this.bgColor='#ffffff'"> 
	              <td class="tdList"><%# Eval("id") %></td>
	              <td class="tdList"><%# Eval("username")%></td>
	              <td class="tdList"><%# Eval("password")%></td>
	              <td class="tdList"><%# Eval("realname")%></td>
	              <%--<td  class="tdList"><%# Eval("level")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("qq")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("email")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("telephone")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("lastloginTime")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("lastloginip")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("loginnum")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("status")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("memo")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("ext1")%></td>--%>
	              <%--<td  class="tdList"><%# Eval("ext2")%></td>--%>
	              <td class="tdList">	
	                  <a href="?cmd=view&id=<%# Eval("id") %>" class="linkView" onclick="return openWin(this.href);">查看</a>&nbsp;
	                   <a href="?cmd=edit&id=<%# Eval("id") %>" class="linkEdit" onclick="return openWin(this.href);">修改</a>&nbsp;
	                   <a href="?cmd=delete&id=<%# Eval("id") %>" onclick="return confirm('确定是要删除该记录吗？')" class="linkDelete">删除</a>
	              </td>
                </tr>
        </ItemTemplate>
        <FooterTemplate>
           </table>
        </FooterTemplate>
    </asp:Repeater>
    <div class="divPager">
         <asp:Literal ID="litPager" runat="server" ></asp:Literal>
    </div>
        
</div>

<div runat="server" id="divForm">
<table cellpadding="2" cellspacing="0" class="tblForm">
	<tr> 
		<td colspan="2" class="tdFormHead">  <asp:Label ID="lblFormTitle" runat="server" Text="修改"></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">用户名：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtUsername" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">密码：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtPassword" runat="server"  CssClass="clsInput"  TextMode="Password"  ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">真实姓名：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtRealname" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">角色：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtLevel" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">qq：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtQq" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">邮箱：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtEmail" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">电话：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtTelephone" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">最后一次登陆时间：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtLastloginTime" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">最后一次登陆ip：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtLastloginip" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">登陆次数：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtLoginnum" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">状态：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtStatus" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">备注：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtMemo" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">扩展1：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtExt1" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">扩展2：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtExt2" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td colspan="2" align="center" style="font-size: 30px;">
         <asp:Button ID="btnSumit"  CssClass="btnSumit" runat="server" Text=" 发布 "  OnClick="btnSumit_Click" />
		<input class="btnCancel" type="reset" value=" 取消 " />
		<asp:TextBox ID="txtId" runat="server" style="display:none" Text="0"></asp:TextBox></td>
	</tr>
</table>
</div>

<div runat="server" id="divView">
<table cellpadding="2" cellspacing="0" class="tblView">
	<tr> 
		<td colspan="2" class="tdViewHead">  <asp:Label ID="lblViewTitle" runat="server" Text="查看"></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">用户名：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblUsername" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">密码：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblPassword" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">真实姓名：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblRealname" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">角色：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblLevel" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">qq：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblQq" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">邮箱：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblEmail" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">电话：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblTelephone" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">最后一次登陆时间：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblLastloginTime" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">最后一次登陆ip：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblLastloginip" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">登陆次数：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblLoginnum" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">状态：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblStatus" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">备注：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblMemo" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">扩展1：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblExt1" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">扩展2：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblExt2" runat="server" ></asp:Label></td>
	</tr>
</table>
</div>
    
    </form>
</body>
</html>

